# -*- coding: UTF-8 -*-
from django.conf.urls import url

from . import views

urlpatterns = [
    url(r'^$', views.home_view),
    # 主页
    url(r'^index.html/$', views.home_view),
    # 分页
    url(r'^page/(\d+)$', views.home_view),
    # 具体详情
    url(r'^details/(\d+)\.html$', views.post_details_view),
    # 管理员后端页面
    url(r'^admin/details/(\d+)$', views.post_details_view),
]
